/**
 * Copyright 2014 jingzhe All Rights Reserved.
 * 项目名：jingzhe-core
 * 包名：com.jingzhe.core.exception
 * 文件名：ErrorCodeConstant.java 
 * 日期：2016-02-04 16:14
 */
package com.jingzhe.core.constant;

/**
 * 异常类对应编号.
 * @author wanghaijun
 *
 */
public class ErrorCodeConstant {
    /**
     * success_code.
     */
    public static final int SUCCESS_CODE = 0;

    /**
     * 不清楚的错误编号.
     */
    public static final int UNKNOW_ERROR_CODE = 1000001;

    /**
     * 没有查到数据.
     */
    public static final int DATA_NOT_FOUND = 1000002;
    
    /**
     * 基本校验错误
     */
    public static final int VALIDATION_FAILED = 1000003;
    
    /**
     * 业务校验错误
     */
    public static final int BIZ_VALID_FAILED = 1000004;
    
    /**
     * APP 权限认证失败
     */
    public static final int APP_AUTH_ACCESS = 1000005;

}
